//
//  CarFineModel.swift
//  TrafficViolation
//
//  Created by eaglelive on 2017/6/20.
//  Copyright © 2017年 eaglelive. All rights reserved.
//

import Foundation
import SwiftyJSON
class CarFineModel: NSObject {
    var opUser:String = ""//办理人
    var isDocument:String = ""//是否有单据  0:没有，1：有
    var ostatus:String = ""//订单状态0：未支付，1：待处理，2：处理中，3：完成
    var driveLicense_3:String = ""//驾驶证反面
    var driveLicense_1:String = ""//罚款单据 当 isDocument = 1 时显示上传这个
    var samount:String = ""//服务费
    var latePrice:String = ""//滞纳金 默认0
    var optime:String = ""//处理时间
    var orderNo:String = ""//订单编号
    var price:String = ""//罚款金额
    var remark:String = ""//备注信息
    var subtime:String = ""//提交时间
    var driveLicense_2:String = ""//驾驶证正面
    var subUser:String = ""//提交人
    //初始化
    init(dict : JSON) {
        super.init()
        self.opUser = dict["opUserName"].stringValue
        self.isDocument = dict["isDocument"].stringValue
        self.ostatus = dict["ostatus"].stringValue
        self.driveLicense_3 = dict["driveLicense_3"].stringValue
        self.driveLicense_1 = dict["driveLicense_1"].stringValue
        self.samount = dict["samount"].stringValue
        self.latePrice = dict["latePrice"].stringValue
        self.optime = dict["optime"].stringValue
        self.orderNo = dict["orderNo"].stringValue
        self.price = dict["price"].stringValue
        self.remark = dict["remark"].stringValue
        self.subtime = dict["subtime"].stringValue
        self.driveLicense_2 = dict["driveLicense_2"].stringValue
        self.subUser = dict["subUserName"].stringValue
    }
}
